package com.yang.studentsapp.utils;

import android.util.Log;
import android.view.View;

/**
 * Created by ${Ян-Вэнь-Чао} on 2016/10/10.
 * 查找view的工具类
 */
public class FindViewUtils {
//    private final String mTag = getClass().getName();
//    private View mView;
//    public FindViewUtils(View view) {
//        mView = view;
//    }
//
//    public <T extends View> T findViewById(int viewId) {
//        if (mView == null) {
//            Log.e(mTag, "findViewById is Null !!!");
//            return null;
//        }
//        View view = mView.findViewById(viewId);
//        return (T) view;
//    }

}
